//
//  FindDetailModel.m
//  ToYourHeartNews
//
//  Created by XJing on 16/1/22.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥. All rights reserved.
//

#import "FindDetailModel.h"

@implementation FindDetailModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"auther"]) {
        self.autherName = value[@"name"];
        self.autherImg = value[@"icon"];
    }
    if ([key isEqualToString:@"medias"]) {
        self.imgPath = [[value firstObject] objectForKey:@"s_url"];
    }
}
@end
